<h1>Showing contractor</h1>

<p>
  <b>Name:</b>
  <%=h @contractor.name %>
</p>

<p>
  <b>Street:</b>
  <%=h @contractor.street %>
</p>

<p>
  <b>City:</b>
  <%=h @contractor.city %>
</p>

<p>
  <b>Postal code:</b>
  <%=h @contractor.postal_code %>
</p>

<p>
  <b>Country:</b>
  <%=h @contractor.country %>
</p>

<p>
  <b>Phone number:</b>
  <%=h @contractor.phone_number %>
</p>

<p>
  <b>NIP:</b>
  <%=h @contractor.nip %>
</p>

<p>
  <b>REGON:</b>
  <%=h @contractor.regon %>
</p>


<%= link_to 'Edit', edit_contractor_path(@contractor) %> |
<%= link_to 'Delete', @contractor, :confirm => 'Are you sure?', :method => :delete %> |
<%= link_to 'List', contractors_path %>